package xyz.zhouzhaodong.crm.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import xyz.zhouzhaodong.crm.dto.ApplicationDto;
import xyz.zhouzhaodong.crm.entity.Application;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 申请表（学校和专业） Mapper 接口
 * </p>
 *
 * @author zhouzhaodong
 * @since 2020-06-18
 */
public interface ApplicationMapper extends BaseMapper<Application> {

    /**
     * 查询申请列表
     * @param page
     * @param applicationDto
     * @return
     */
    IPage<ApplicationDto> selectApplicationList(Page<ApplicationDto> page, @Param("applicationDto") ApplicationDto applicationDto);

}
